Skip to content

Update pre-commit hook configuration for context-aware validation#17

Merged
Joschi3 merged 2 commits into
mainfrom
bugfix/multiple_calls
Jan 5, 2026
Merged

Update pre-commit hook configuration for context-aware validation#17
Joschi3 merged 2 commits into
mainfrom
bugfix/multiple_calls

Conversation

@Joschi3
Copy link
Copy Markdown
Owner

@Joschi3 Joschi3 commented Jan 5, 2026

This PR updates the pre-commit hook configuration to set pass_filenames: false.

Reasoning: The package-xml-validator needs to scan the entire package context (including CMakeLists.txt, launch files, and test directories) to accurately verify dependencies. If we passed specific filenames, the tool might miss context when only a secondary file (like a launch script) is modified. Setting pass_filenames: false ensures the tool always scans the full package structure for dependency synchronization. It also ensures the tool is not called multiple times in parallel.

Changes:

  • Set pass_filenames: false.

@Joschi3 Joschi3 self-assigned this Jan 5, 2026
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
package_xml_validation/helpers/validation_steps.py 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Joschi3 Joschi3 merged commit c7e3edc into main Jan 5, 2026
2 checks passed
@Joschi3 Joschi3 deleted the bugfix/multiple_calls branch January 5, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants